package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsMchLoginRequest;
import com.sgzn.sgpay.model.request.SgsMchQuitRequest;
import com.sgzn.sgpay.model.request.SgsMchValidTokenRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;
import com.sgzn.sgpay.model.response.result.MchLoginResult;

/**
 * 商户登录服务
 * @author zhongzhongyong
 * @version Id: SgsMchLoginService.java, v 0.1 2018/5/11 23:33 zhongzhongyong Exp $$
 */
public interface SgsMchLoginService {

    /**
     * 登录
     * @param request
     * @return token
     */
    SgsResultResponse<MchLoginResult> login(SgsMchLoginRequest request);

    /**
     * 退出
     * @param request
     * @return token
     */
    SgsResultResponse<String> quit(SgsMchQuitRequest request);

}
